package com.smile.spring.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2021/12/11 16:40
 */
@Component
public class UserService {

    @Value("xxx")
    private User user;

    public void test() {

        System.out.println("UserService test"+user);
    }
}
